package day01;
import java.util.Scanner;
public class TestIf {

	public static void main(String[] args) {
		//if..else if..else--多段
		Scanner in = new Scanner(System.in);
		System.out.println("您的账户余额位：");
		int money = in.nextInt();
		if(money>=500) {
			System.out.println("我想买个法拉利！");
		}else if(money>400) {
			System.out.println("我想买个保时捷！");
		}else if(money>40) {
			System.out.println("我想买个奥迪！");
		}else if(money>4) {
			System.out.println("我想买个QQ！");
		}else {
			System.out.println("我想买个小黄车！");
		}

	}

}
